:host {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    --primary-color: #3f51b5;
    --accent-color: #448AFF;
    --background-color: #FF4081;
    --default-transation: ease-in-out .2s;
    font-family: Roboto, Noto, Helvetica, Arial, sans-serif;
    z-index: 10;
    opacity: 1 !important;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0 0 0 / .2);
    transition: var(--default-transation);
}

.dismiss.overlay {
    opacity: 0;
}

.dialog {
    background: #fff;
    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: calc(100% - 96px);
    max-width: 560px;
    z-index: 1;
    box-shadow: 0 16px 20px -8px rgba(0 0 0 / .5);
    border-radius: 2px;
    padding: 16px;
    transition: var(--default-transation);
}

.dismiss.dialog {
    top: 60%;
    left: 50%;
    scale: .8;
    opacity: 0;
    transform: translate(-62.5%, -62.5%);
}

.title {
    margin: 0 0 16px 0;
    font-size: 1.1em;
}

.message {
    font-size: 0.9em;
    margin: 0 0 16px 0;
    line-height: 1.6em;
    color: rgba(0 0 0 / .75);
}

.buttons {
    display: grid;
    grid-template-columns: 56px 1fr 56px 56px;
    grid-template-areas: "m . n p";
}

.buttons>.button {
    padding: 0px 12px;
    box-sizing: border-box;
    height: 32px;
    border: none;
    outline: none;
    background: transparent;
    transition: ease-in-out .2s;
    border-radius: 2px;
    color: var(--background-color);
    font-size: 1em;
    min-width: 56px;
    width: max-content;
    font-weight: bold;
}

.buttons>.button:hover {
    background: rgba(0 0 0 / .1);
}

.buttons>.button:active {
    background: rgba(0 0 0 / .2);
}

.positive-button {
    grid-area: p;
}

.negative-button {
    grid-area: n;
}

.netural-button {
    grid-area: m;
}